<template>
    <div>
        <h2>setup语法糖</h2>
    </div>
</template>
<script name="setup" lang="ts" setup>
import {ref} from 'vue'
 const count = ref<number>(1);
  function increment(): void {
      count.value++;
  }
</script>
<style scoped lang="less"></style>